#include "StdAfx.h"
#include "SAPIEventCb.h"
#include "sphelper.h"
#include <iostream>

SAPIEventCb::SAPIEventCb(void)
{
	inputStreamDone = false;
}

SAPIEventCb::~SAPIEventCb(void)
{
}

void SAPIEventCb::NotifySAPIEventCallback(CSpEvent* e)
{
	switch(e->eEventId)
	{
	case SPEI_END_INPUT_STREAM:
		inputStreamDone = true;
		break;
	default:
		break;
	}

	std::cout << e->eEventId << std::endl;
}
